Test Results - sandbox_common_test

All Test Modules | GitHub Repository | Coverage Reports Designed for use with JUnit.

Summary

99.2%
Tests Failures Errors Skipped Success rate Time
250 0 0 2 99.20% 4.753
Note: failures are anticipated and checked for with assertions while errors are unanticipated.

Packages

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.
Name Tests Errors Failures Skipped Time(s) Time Stamp Host
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000
(default package) 0 0 0 0 0.000

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package (default package)

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top


TestCase AstProcessorBuilder Tests

Name Status Type Time(s)
Properties ยป

Back to top

TestCase AstProcessorBuilder Tests Data Collection with ReferenceHolder

Name Status Type Time(s)
Collects nodes in ReferenceHolder ๐Ÿ”— Success 0.011
Accumulates data across multiple node types ๐Ÿ”— Success 0.004
Properties ยป

Back to top

TestCase AstProcessorBuilder Tests Factory Methods

Name Status Type Time(s)
with(ReferenceHolder) creates builder ๐Ÿ”— Success 0.001
with(ReferenceHolder, Set) creates builder with custom node set ๐Ÿ”— Success 0.004
Properties ยป

Back to top

TestCase AstProcessorBuilder Tests Fluent API Chaining

Name Status Type Time(s)
Multiple visitors can be chained ๐Ÿ”— Success 0.005
Builder returns itself for chaining ๐Ÿ”— Success 0.001
Properties ยป

Back to top

TestCase AstProcessorBuilder Tests onAssignment()

Name Status Type Time(s)
Finds assignments ๐Ÿ”— Success 0.001
Properties ยป

Back to top

TestCase AstProcessorBuilder Tests onEnhancedForStatement()

Name Status Type Time(s)
Finds enhanced for loops ๐Ÿ”— Success 0.002
Provides access to loop variable ๐Ÿ”— Success 0.000
Properties ยป

Back to top

TestCase AstProcessorBuilder Tests onIfStatement()

Name Status Type Time(s)
Finds if statements ๐Ÿ”— Success 0.001
Properties ยป

Back to top

TestCase AstProcessorBuilder Tests onMethodDeclaration()

Name Status Type Time(s)
Finds all method declarations ๐Ÿ”— Success 0.001
Properties ยป

Back to top

TestCase AstProcessorBuilder Tests onMethodInvocation()

Name Status Type Time(s)
Filters by method name ๐Ÿ”— Success 0.023
Finds all method invocations ๐Ÿ”— Success 0.001
Properties ยป

Back to top

TestCase AstProcessorBuilder Tests onReturnStatement()

Name Status Type Time(s)
Finds return statements ๐Ÿ”— Success 0.001
Properties ยป

Back to top

TestCase AstProcessorBuilder Tests onTypeDeclaration()

Name Status Type Time(s)
Finds type declarations ๐Ÿ”— Success 0.002
Properties ยป

Back to top

TestCase AstProcessorBuilder Tests onVariableDeclarationFragment()

Name Status Type Time(s)
Finds variable declarations ๐Ÿ”— Success 0.001
Properties ยป

Back to top

TestCase AstProcessorBuilder Tests processor() Access

Name Status Type Time(s)
processor() provides access to underlying ASTProcessor ๐Ÿ”— Success 0.000
Properties ยป

Back to top

TestCase ExpressionHelper Tests

Name Status Type Time(s)
Properties ยป

Back to top

TestCase ExpressionHelper Tests createNegatedExpression()

Name Status Type Time(s)
Negates simple name without parentheses ๐Ÿ”— Success 0.005
null AST throws exception ๐Ÿ”— Success 0.001
Negates infix expression with parentheses ๐Ÿ”— Success 0.000
null condition throws exception ๐Ÿ”— Success 0.000
Properties ยป

Back to top

TestCase ExpressionHelper Tests isIdentityMapping()

Name Status Type Time(s)
SimpleName not matching varName is not identity ๐Ÿ”— Success 0.003
SimpleName matching varName is identity ๐Ÿ”— Success 0.000
InfixExpression is not identity ๐Ÿ”— Success 0.001
null varName returns false ๐Ÿ”— Success 0.001
Properties ยป

Back to top

TestCase ExpressionHelper Tests isNegatedExpression()

Name Status Type Time(s)
SimpleName is not negated ๐Ÿ”— Success 0.005
PrefixExpression with MINUS is not negated ๐Ÿ”— Success 0.001
PrefixExpression with NOT is negated ๐Ÿ”— Success 0.000
Properties ยป

Back to top

TestCase ExpressionHelper Tests needsParentheses()

Name Status Type Time(s)
SimpleName does not need parentheses ๐Ÿ”— Success 0.000
InfixExpression needs parentheses ๐Ÿ”— Success 0.001
null input throws exception ๐Ÿ”— Success 0.000
Properties ยป

Back to top

TestCase ExpressionHelper Tests stripNegation()

Name Status Type Time(s)
Strips negation from PrefixExpression with NOT ๐Ÿ”— Success 0.001
Returns original if not negated ๐Ÿ”— Success 0.000
Properties ยป

Back to top

TestCase HelperVisitor Fluent API Tests

Name Status Type Time(s)
Properties ยป

Back to top

TestCase HelperVisitor Fluent API Tests AnnotationVisitorBuilder Tests

Name Status Type Time(s)
Validation: processEach without compilationUnit should throw ๐Ÿ”— Success 0.001
Collect annotations using collect() method ๐Ÿ”— Success 0.007
Find @SuppressWarnings annotations (SingleMemberAnnotation) ๐Ÿ”— Success 0.005
Find @Override annotations ๐Ÿ”— Success 0.004
Find @Deprecated annotations by fully qualified name ๐Ÿ”— Success 0.005
Properties ยป

Back to top

TestCase HelperVisitor Fluent API Tests FieldVisitorBuilder Tests

Name Status Type Time(s)
Validation: FieldVisitorBuilder requires both annotation and type ๐Ÿ”— Success 0.007
Properties ยป

Back to top

TestCase HelperVisitor Fluent API Tests ImportVisitorBuilder Tests

Name Status Type Time(s)
Find static imports ๐Ÿ”— Success 0.014
Find regular imports ๐Ÿ”— Success 0.014
Properties ยป

Back to top

TestCase HelperVisitor Fluent API Tests MethodCallVisitorBuilder Tests

Name Status Type Time(s)
Find single method call ๐Ÿ”— Success 0.007
Collect method calls using collect() ๐Ÿ”— Success 0.005
Find multiple method calls ๐Ÿ”— Success 0.005
Properties ยป

Back to top

TestCase HelperVisitor Fluent API Tests Processing Control Tests

Name Status Type Time(s)
Early termination when processor returns false ๐Ÿ”— Success 0.008
Excluding processed nodes ๐Ÿ”— Success 0.008
Properties ยป

Back to top

TestCase HelperVisitor Fluent API Tests ReferenceHolder Integration Tests

Name Status Type Time(s)
ReferenceHolder can be used to collect data ๐Ÿ”— Success 0.008
Properties ยป

Back to top

TestCase HelperVisitorFluentApiTest ReferenceHolder Correctness Tests

Name Status Type Time(s)
Multiple nodes are correctly stored in ReferenceHolder ๐Ÿ”— Success 0.012
ReferenceHolder is correctly populated in processEach and accessible afterwards ๐Ÿ”— Success 0.009
ReferenceHolder.get() returns null for non-existent key - edge case from PR #494 ๐Ÿ”— Success 0.009
Properties ยป

Back to top

TestCase HelperVisitorFluentApiTest collect() Tests

Name Status Type Time(s)
collect() gathers all found nodes ๐Ÿ”— Success 0.036
Properties ยป

Back to top

TestCase HelperVisitorFluentApiTest forAnnotation() Tests

Name Status Type Time(s)
forAnnotation skips already processed nodes ๐Ÿ”— Success 0.022
forAnnotation finds MarkerAnnotation and populates ReferenceHolder correctly ๐Ÿ”— Success 0.021
forAnnotation with andImports also finds imports ๐Ÿ”— Success 0.006
Properties ยป

Back to top

TestCase HelperVisitorFluentApiTest forField() Tests

Name Status Type Time(s)
forField with annotation finds FieldDeclaration ๐Ÿ”— Success 0.008
Properties ยป

Back to top

TestCase HelperVisitorFluentApiTest forImport() Tests

Name Status Type Time(s)
forImport finds ImportDeclaration and populates ReferenceHolder correctly ๐Ÿ”— Success 0.007
Properties ยป

Back to top

TestCase HelperVisitorFluentApiTest forMethodCalls() Tests

Name Status Type Time(s)
forMethodCalls with andStaticImports and andImportsOf ๐Ÿ”— Success 0.016
forMethodCalls finds MethodInvocation and populates ReferenceHolder correctly ๐Ÿ”— Success 0.013
Properties ยป

Back to top

TestCase LibStandardNames Tests

Name Status Type Time(s)
Properties ยป

Back to top

TestCase LibStandardNames Tests Existing Method Constants

Name Status Type Time(s)
METHOD_DEFAULT_CHARSET is 'defaultCharset' ๐Ÿ”— Success 0.001
METHOD_GET_PROPERTY is 'getProperty' ๐Ÿ”— Success 0.000
METHOD_LINE_SEPARATOR is 'lineSeparator' ๐Ÿ”— Success 0.002
FIELD_UTF8 is 'UTF_8' ๐Ÿ”— Success 0.000
METHOD_TOSTRING is 'toString' ๐Ÿ”— Success 0.001
Properties ยป

Back to top

TestCase LibStandardNames Tests Fully Qualified Type Names

Name Status Type Time(s)
JAVA_LANG_DOUBLE is 'java.lang.Double' ๐Ÿ”— Success 0.001
JAVA_LANG_STRING is 'java.lang.String' ๐Ÿ”— Success 0.000
JAVA_LANG_MATH is 'java.lang.Math' ๐Ÿ”— Success 0.000
JAVA_LANG_LONG is 'java.lang.Long' ๐Ÿ”— Success 0.000
JAVA_LANG_INTEGER is 'java.lang.Integer' ๐Ÿ”— Success 0.000
Properties ยป

Back to top

TestCase LibStandardNames Tests Math Method Constants

Name Status Type Time(s)
METHOD_CONCAT is 'concat' ๐Ÿ”— Success 0.001
METHOD_SUM is 'sum' ๐Ÿ”— Success 0.000
METHOD_MIN is 'min' ๐Ÿ”— Success 0.000
METHOD_MAX is 'max' ๐Ÿ”— Success 0.000
Properties ยป

Back to top

TestCase LibStandardNames Tests Stream API Method Constants

Name Status Type Time(s)
METHOD_STREAM is 'stream' ๐Ÿ”— Success 0.001
METHOD_FOREACH is 'forEach' ๐Ÿ”— Success 0.000
METHOD_REDUCE is 'reduce' ๐Ÿ”— Success 0.000
METHOD_ANY_MATCH is 'anyMatch' ๐Ÿ”— Success 0.000
METHOD_NONE_MATCH is 'noneMatch' ๐Ÿ”— Success 0.001
METHOD_FILTER is 'filter' ๐Ÿ”— Success 0.000
METHOD_MAP is 'map' ๐Ÿ”— Success 0.001
METHOD_ALL_MATCH is 'allMatch' ๐Ÿ”— Success 0.000
METHOD_FOR_EACH_ORDERED is 'forEachOrdered' ๐Ÿ”— Success 0.000
Properties ยป

Back to top

TestCase NodeMatcher Tests

Name Status Type Time(s)
Properties ยป

Back to top

TestCase NodeMatcher Tests Chaining and State Management

Name Status Type Time(s)
Chaining stops after first match ๐Ÿ”— Success 0.004
isHandled() returns true after match ๐Ÿ”— Success 0.005
Properties ยป

Back to top

TestCase NodeMatcher Tests Expression Type Matchers

Name Status Type Time(s)
ifPrefixIncrementOrDecrement matches decrement ๐Ÿ”— Success 0.006
ifPrefixExpression matches PrefixExpression ๐Ÿ”— Success 0.003
ifMethodInvocation matches MethodInvocation ๐Ÿ”— Success 0.010
ifSimpleName matches SimpleName ๐Ÿ”— Success 0.006
ifAssignmentWithOperator matches specific operator ๐Ÿ”— Success 0.005
ifPostfixIncrementOrDecrement matches increment ๐Ÿ”— Success 0.012
ifAssignment matches Assignment ๐Ÿ”— Success 0.010
ifMethodInvocationNamed matches by method name ๐Ÿ”— Success 0.032
ifPostfixExpression matches PostfixExpression ๐Ÿ”— Success 0.005
Properties ยป

Back to top

TestCase NodeMatcher Tests Factory Methods

Name Status Type Time(s)
isHandled() returns false initially ๐Ÿ”— Success 0.006
on() creates NodeMatcher instance ๐Ÿ”— Success 0.003
Properties ยป

Back to top

TestCase NodeMatcher Tests Generic Type Matchers

Name Status Type Time(s)
ifTypeMatching with predicate ๐Ÿ”— Success 0.004
ifType matches by class type ๐Ÿ”— Success 0.004
Properties ยป

Back to top

TestCase NodeMatcher Tests Statement Type Matchers

Name Status Type Time(s)
ifThrowStatement matches ThrowStatement ๐Ÿ”— Success 0.007
ifReturnStatement matches ReturnStatement ๐Ÿ”— Success 0.007
ifIfStatementWithElse matches if with else ๐Ÿ”— Success 0.011
ifVariableDeclaration matches VariableDeclarationStatement ๐Ÿ”— Success 0.007
ifContinueStatement matches ContinueStatement ๐Ÿ”— Success 0.020
ifIfStatement matches IfStatement ๐Ÿ”— Success 0.007
ifBlock matches Block ๐Ÿ”— Success 0.006
ifExpressionStatement matches ExpressionStatement ๐Ÿ”— Success 0.005
ifBreakStatement matches BreakStatement ๐Ÿ”— Success 0.011
ifVariableDeclarationMatching with predicate ๐Ÿ”— Success 0.012
ifIfStatementWithoutElse matches if without else ๐Ÿ”— Success 0.007
Properties ยป

Back to top

TestCase NodeMatcher Tests Terminal Operations

Name Status Type Time(s)
orElse does not execute when already handled ๐Ÿ”— Success 0.009
orElse executes when no matcher handled ๐Ÿ”— Success 0.010
orElseGet returns empty when already handled ๐Ÿ”— Success 0.007
orElseGet returns Optional when not handled ๐Ÿ”— Success 0.007
orElseDo executes runnable when not handled ๐Ÿ”— Success 0.007
Properties ยป

Back to top

TestCase NodeMatcher Tests Utility Methods

Name Status Type Time(s)
isControlFlowStatement returns true for throw ๐Ÿ”— Success 0.011
isControlFlowStatement returns true for continue ๐Ÿ”— Success 0.006
getExpression returns Optional with expression ๐Ÿ”— Success 0.010
getAssignment returns empty for non-assignment ๐Ÿ”— Success 0.007
getAssignment returns Optional with assignment ๐Ÿ”— Success 0.013
isAssignmentStatement returns false for non-assignment ๐Ÿ”— Success 0.005
isControlFlowStatement returns true for return ๐Ÿ”— Success 0.010
isAssignmentStatement returns true for assignment ๐Ÿ”— Success 0.010
isControlFlowStatement returns true for break ๐Ÿ”— Success 0.013
isControlFlowStatement returns false for variable declaration ๐Ÿ”— Success 0.007
getExpression returns empty for non-expression statement ๐Ÿ”— Success 0.017
Properties ยป

Back to top

TestCase StatementContext Tests

Name Status Type Time(s)
Properties ยป

Back to top

TestCase StatementContext Tests Conditional Helpers

Name Status Type Time(s)
ifFirst executes for first statement ๐Ÿ”— Success 0.044
ifLast executes for last statement ๐Ÿ”— Success 0.011
ifNotLast executes for non-last statement ๐Ÿ”— Success 0.012
ifLast does not execute for non-last statement ๐Ÿ”— Success 0.012
ifOnly executes for only statement ๐Ÿ”— Success 0.008
Properties ยป

Back to top

TestCase StatementContext Tests Edge Cases

Name Status Type Time(s)
Context chaining with ifLast ๐Ÿ”— Success 0.015
getRemainingCount is zero for last statement ๐Ÿ”— Success 0.010
Single statement is first, last, and only ๐Ÿ”— Success 0.011
Properties ยป

Back to top

TestCase StatementContext Tests Factory Methods

Name Status Type Time(s)
processBlock allows early termination ๐Ÿ”— Success 0.011
forSingle creates context for single statement ๐Ÿ”— Success 0.008
forEachInBlock processes all statements ๐Ÿ”— Success 0.014
processBlock returns empty when no match ๐Ÿ”— Success 0.011
forStatement creates context with position info ๐Ÿ”— Success 0.008
Properties ยป

Back to top

TestCase StatementContext Tests List Operations

Name Status Type Time(s)
getRemainingStatements returns empty for last statement ๐Ÿ”— Success 0.008
getPrecedingStatements returns statements before current ๐Ÿ”— Success 0.008
getRemainingStatements returns statements after current ๐Ÿ”— Success 0.010
getPrecedingStatements returns empty for first statement ๐Ÿ”— Success 0.007
Properties ยป

Back to top

TestCase StatementContext Tests Matcher Integration

Name Status Type Time(s)
nextIs returns true for matching type ๐Ÿ”— Success 0.008
nextIs with predicate returns true when both match ๐Ÿ”— Success 0.027
nextMatches returns true when predicate matches ๐Ÿ”— Success 0.012
matcher returns NodeMatcher for statement ๐Ÿ”— Success 0.007
nextMatches returns false when predicate does not match ๐Ÿ”— Success 0.006
Properties ยป

Back to top

TestCase StatementContext Tests Navigation Methods

Name Status Type Time(s)
getNextStatement returns next statement ๐Ÿ”— Success 0.008
getPreviousStatement returns previous statement ๐Ÿ”— Success 0.007
getPreviousStatement returns empty for first statement ๐Ÿ”— Success 0.005
getStatementAt returns empty for out of bounds ๐Ÿ”— Success 0.006
getNextStatement returns empty for last statement ๐Ÿ”— Success 0.005
getStatementAt returns statement at negative offset ๐Ÿ”— Success 0.006
getStatementAt returns statement at positive offset ๐Ÿ”— Success 0.004
Properties ยป

Back to top

TestCase StatementContext Tests Position Queries

Name Status Type Time(s)
getRemainingCount returns correct count ๐Ÿ”— Success 0.008
isMiddle returns false for first statement ๐Ÿ”— Success 0.017
hasNext returns false for last statement ๐Ÿ”— Success 0.010
isOnly returns true for single statement ๐Ÿ”— Success 0.010
hasNext returns true when there are more statements ๐Ÿ”— Success 0.011
isLast returns true for last statement ๐Ÿ”— Success 0.012
isMiddle returns true for middle statement ๐Ÿ”— Success 0.007
isFirst returns false for non-first statement ๐Ÿ”— Success 0.007
isFirst returns true for first statement ๐Ÿ”— Success 0.007
hasPrevious returns true when there are previous statements ๐Ÿ”— Success 0.007
hasPrevious returns false for first statement ๐Ÿ”— Success 0.007
Properties ยป

Back to top

TestCase org.sandbox.jdt.internal.common.HelperVisitorFluentApiTest

Name Status Type Time(s)
Properties ยป

Back to top

TestCase org.sandbox.jdt.triggerpattern.TriggerPatternCleanupTest

Name Status Type Time(s)
testAnnotationPatternMatching ๐Ÿ”— Success 0.619
testNoMatchesForDifferentAnnotation ๐Ÿ”— Success 0.016
testAnnotationWithQualifiedType ๐Ÿ”— Success 0.012
testMultipleAnnotationMatches ๐Ÿ”— Success 0.009
testAnnotationWithPlaceholder ๐Ÿ”— Success 0.049
Properties ยป

Back to top

TestCase org.sandbox.jdt.triggerpattern.test.MultiPlaceholderTest

Name Status Type Time(s)
testMultiPlaceholderConsistencyCheck ๐Ÿ”— Success 0.004
testMultiPlaceholderMatchesZeroArguments ๐Ÿ”— Success 0.001
testMultiPlaceholderMatchesOneArgument ๐Ÿ”— Success 0.004
testMultiPlaceholderMatchesMultipleArguments ๐Ÿ”— Success 0.005
testMultiPlaceholderMatchesVariousArgumentTypes ๐Ÿ”— Success 0.002
Properties ยป

Back to top

TestCase org.sandbox.jdt.triggerpattern.test.NewPatternKindsTest

Name Status Type Time(s)
testSimpleField ๐Ÿ”— Success 0.007
testFieldWithPlaceholderType ๐Ÿ”— Success 0.005
testSimpleMarkerAnnotation ๐Ÿ”— Success 0.004
testSimpleMethodCall ๐Ÿ”— Success 0.010
testSimpleImport ๐Ÿ”— Success 0.005
testMultipleImports ๐Ÿ”— Success 0.004
testFieldWithAnnotation ๐Ÿ”— Success 0.007
testMultipleAnnotationsOnSameElement ๐Ÿ”— Success 0.006
testMethodCallWithMultipleArguments ๐Ÿ”— Success 0.003
testAnnotationWithParameters ๐Ÿ”— Success 0.004
testMethodCallWithPlaceholderQualifier ๐Ÿ”— Success 0.002
testStaticImport ๐Ÿ”— Success 0.001
Properties ยป

Back to top

TestCase org.sandbox.jdt.triggerpattern.test.PatternParserTest

Name Status Type Time(s)
testParseSimpleExpression ๐Ÿ”— Success 0.005
testParsePlaceholderExpression ๐Ÿ”— Success 0.001
testParseMethodInvocation ๐Ÿ”— Success 0.007
testParseIfStatement ๐Ÿ”— Skipped
org.opentest4j.AssertionFailedError: Parser should return a non-null node ==> expected: not <null> at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:152) at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132) at org.junit.jupiter.api.AssertNotNull.failNull(AssertNotNull.java:49) at org.junit.jupiter.api.AssertNotNull.assertNotNull(AssertNotNull.java:35) at org.junit.jupiter.api.Assertions.assertNotNull(Assertions.java:312) at org.sandbox.jdt.triggerpattern.test.PatternParserTest.testParseIfStatement(PatternParserTest.java:73) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
0.000
testParseReturnStatement ๐Ÿ”— Success 0.005
Properties ยป

Back to top

TestCase org.sandbox.jdt.triggerpattern.test.PlaceholderMatcherTest

Name Status Type Time(s)
testNonPlaceholderMustMatchExactly ๐Ÿ”— Success 0.007
testMultipleSamePlaceholdersMustMatch ๐Ÿ”— Success 0.006
testDifferentPlaceholdersBindIndependently ๐Ÿ”— Success 0.004
testPlaceholderBinds ๐Ÿ”— Success 0.005
Properties ยป

Back to top

TestCase org.sandbox.jdt.triggerpattern.test.TriggerPatternEngineTest

Name Status Type Time(s)
testMultipleSamePlaceholder ๐Ÿ”— Success 0.010
testNoMatchesFound ๐Ÿ”— Success 0.004
testFindSingleMatch ๐Ÿ”— Success 0.003
testStatementPattern ๐Ÿ”— Skipped
org.opentest4j.AssertionFailedError: Should find one statement pattern match ==> expected: <1> but was: <0> at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151) at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132) at org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197) at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:150) at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:563) at org.sandbox.jdt.triggerpattern.test.TriggerPatternEngineTest.testStatementPattern(TriggerPatternEngineTest.java:134) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
0.000
testFindMultipleMatches ๐Ÿ”— Success 0.006
Properties ยป

Back to top

TestCase org.sandbox.jdt.ui.tests.quickfix.ASTProcessorTest

Name Status Type Time(s)
testAncestorNavigation ๐Ÿ”— Success 0.015
testAssignmentByOperator ๐Ÿ”— Success 0.005
testHierarchicalSearch ๐Ÿ”— Success 0.002
testInfixExpressionByOperator ๐Ÿ”— Success 0.006
testMethodDeclarationByName ๐Ÿ”— Success 0.001
testSingleVisitor ๐Ÿ”— Success 0.001
testCatchClauseByExceptionType ๐Ÿ”— Success 0.010
testFieldDeclarationByType ๐Ÿ”— Success 0.017
testClassInstanceCreationWithTypeAndNavigate ๐Ÿ”— Success 0.002
testMethodInvocationFiltering ๐Ÿ”— Success 0.001
testTypeDeclarationByName ๐Ÿ”— Success 0.001
testSuperMethodInvocationByName ๐Ÿ”— Success 0.010
testBasicChaining ๐Ÿ”— Success 0.001
testForStatementWithTypeFilter ๐Ÿ”— Success 0.028
Properties ยป

Back to top

TestCase org.sandbox.jdt.ui.tests.quickfix.AdvancedVisitorPatternsTest

Name Status Type Time(s)
testCoordinatedMultiPhaseProcessing ๐Ÿ”— Success 0.021
testCombiningVisitorsWithOr ๐Ÿ”— Success 0.001
testCombiningVisitorsWithAnd ๐Ÿ”— Success 0.007
testDynamicVisitorRemoval ๐Ÿ”— Success 0.001
testTrackingProcessedNodes ๐Ÿ”— Success 0.003
testNegateFilter ๐Ÿ”— Success 0.001
testStatefulVisitorBehavior ๐Ÿ”— Success 0.001
Properties ยป

Back to top

TestCase org.sandbox.jdt.ui.tests.quickfix.BasicVisitorUsageTest

Name Status Type Time(s)
testMethodNameFiltering ๐Ÿ”— Success 0.011
testMethodNameFilteringTraditional ๐Ÿ”— Success 0.001
testTraditionalVisitorApproach ๐Ÿ”— Success 0.000
testLambdaExpression ๐Ÿ”— Success 0.010
testSkipChildNodes ๐Ÿ”— Success 0.000
testMultipleNodeTypes ๐Ÿ”— Success 0.002
testVisitEndCallback ๐Ÿ”— Success 0.007
testBasicMethodReference ๐Ÿ”— Success 0.001
Properties ยป

Back to top

TestCase org.sandbox.jdt.ui.tests.quickfix.MatcherTest

Name Status Type Time(s)
matcherTest ๐Ÿ”— Success 0.005
Properties ยป

Back to top

TestCase org.sandbox.jdt.ui.tests.quickfix.ReferenceHolderTest

Name Status Type Time(s)
testCountingWithStaticMethod ๐Ÿ”— Success 0.008
testComplexDataStructures ๐Ÿ”— Success 0.005
testCollectingNodePositions ๐Ÿ”— Success 0.001
testCountingNodes ๐Ÿ”— Success 0.004
testLazyInitialization ๐Ÿ”— Success 0.001
testSharedDataBetweenCallbacks ๐Ÿ”— Success 0.003
Properties ยป

Back to top

TestCase org.sandbox.jdt.ui.tests.quickfix.VisitorApiDocumentationTest

Name Status Type Time(s)
testCallbackSignatures ๐Ÿ”— Success 0.007
testBasicUsagePattern ๐Ÿ”— Success 0.001
testVisitEndCallbacks ๐Ÿ”— Success 0.001
testApiOverview ๐Ÿ”— Success 0.005
testDataSharingPatterns ๐Ÿ”— Success 0.001
testStaticHelperMethods ๐Ÿ”— Success 0.004
testVisitorRegistration ๐Ÿ”— Success 0.001
Properties ยป

Back to top

TestCase org.sandbox.jdt.ui.tests.quickfix.VisitorTest

Name Status Type Time(s)
testNestedHierarchicalSearch ๐Ÿ”— Success 0.006
testFluentApiWithMethodFiltering ๐Ÿ”— Success 0.001
testMethodInvocationByType ๐Ÿ”— Success 0.001
testMultiPhaseProcessing ๐Ÿ”— Success 0.002
testSimpleFluentApi ๐Ÿ”— Success 0.001
testDynamicVisitorModification ๐Ÿ”— Success 0.003
testFluentApiWithNavigation ๐Ÿ”— Success 0.002
testComplexDataCollection ๐Ÿ”— Success 0.002
Properties ยป

Back to top

All Test Reports | Coverage Reports | GitHub Repository

Generated by Sandbox